package com.cbtx.networklib.bean

/**
 * author : joker.peng
 * e-mail : joker@fiture.com
 * date   : 2021/7/6 9:57 PM
 * desc   :
 */
class PageInfo {
    var page = 1
    var pageSize = 50

    fun nextPage() {
        page++
    }

    fun reset() {
        page = 1
    }

    fun isFirstPage(): Boolean {
        return page == 1
    }
}